package com.second.app.thread.join.exception;

/**
 * @Author soul yzg
 * @Date 2021/1/28 23:18
 * 努力学习 天天进步
 */
public class Run {

    public static void main(String[] args) {
        try {
            ThreadB threadB = new ThreadB();
            threadB.start();
            Thread.sleep(500);
            ThreadC threadc = new ThreadC(threadB);
            threadc.start();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }


}
